package com.project.service;

import com.project.entity.TeacherInfo;
import com.project.myBeans.TeacherInfoDetail;

import java.util.List;

public interface TeacherInfoService {

    TeacherInfo findById(Integer id);

    TeacherInfo findByUserid(Integer userid);

    TeacherInfoDetail findDetailByTeacherId(Integer id);

    void add(TeacherInfo teacherInfo);

    List<TeacherInfo> findBySchoolId(Integer schoolid);
}
